<?php

/**
 * Puts the search request in the associated session variable
 * @package ModuleProfilContacts
 * @version 1.0b
 */

session_start();

// Configuration file
include '../configuration.php';
// Functions
include '../inc/functions.php';

// Checking if user is logged in
if (!CheckSession()):
	exit();
endif;

$_SESSION['search'][$_POST['item']] = $_POST['value'];

echo 'OK';
?>